﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ExtensionsMethods
{
    public static class MyExtensions
    {
        public static string ToOrderedDateString(this DateTime date)
        {
            return string.Format("{0}{1}{2}",
                date.Year.ToString(),
                date.Month.ToString(),
                date.Minute.ToString());
        }
    }
}
